package com.torry.edss.domain.model;

import com.torry.boot.starter.mybatisplus.base.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class MarketOverview extends Model {

    private LocalDate date;

    @ApiModelProperty(value = "上证指数")
    private BigDecimal price;

    @ApiModelProperty(value = "涨幅")
    private Double upValue;

    @ApiModelProperty(value = "上涨百分比")
    private Double upPercentage;

    @ApiModelProperty(value = "上涨数")
    private Integer upCount;

    @ApiModelProperty(value = "下跌数")
    private Integer downCount;

    @ApiModelProperty(value = "平盘数")
    private Integer fixedCount;

    @ApiModelProperty(value = "涨停数")
    private Integer limitUpCount;

    @ApiModelProperty(value = "跌停数")
    private Integer limitDownCount;

    @ApiModelProperty(value = "外资流入资金 单位 亿")
    private Double foreignCapital;

    @ApiModelProperty(value = "主力流入资金 单位 亿")
    private Double domesticCapital;

    @ApiModelProperty(value = "成交额 单位 亿")
    private Double transactionAmount;

    @ApiModelProperty(value = "连板率")
    private Double continuousPercentage;

    @ApiModelProperty(value = "封板率")
    private Double sealPercentage;

    @ApiModelProperty(value = "溢价率")
    private Double premiumPercentage;

    @ApiModelProperty(value = "核按钮率")
    private Double nuclearPercentage;

    @ApiModelProperty(value = "最高连板")
    private Integer maxContinuousNum;

    @ApiModelProperty(value = "行情回顾")
    private String note;
}
